<template>
  <div class="b">
    <h1>B组件</h1>
    <p>A组件x：{{ x }}</p>
    <attrs-c :x="x" v-bind="$attrs" v-on="$listeners" />
  </div>
</template>
<script>
import AttrsC from "./AttrsC.vue";
export default {
  components: { AttrsC },
  props: ["x"],
};
</script>
